package com.tuyou.config;

import feign.Feign;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfiguration {

    @Bean
    public Feign.Builder builder() {
        return Feign.builder().logLevel(Logger.Level.HEADERS);
    }
}
